package com.bfsuol.yihang.cars.api;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bfsuol.yihang.cars.dto.VehicleDTO;

import java.util.List;

public interface QueryVehicleService {

    Page<VehicleDTO> page(Page page1, VehicleDTO vehicleDTO);

    VehicleDTO getById(Long id);

    VehicleDTO getOneByVehicleNo(String vehicleNo);

    List<VehicleDTO> findAll();
}
